package org.example.system.model.query;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.example.system.common.base.BasePageQuery;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 租户分页查询
 * @author khb78
 */
@Schema(description = "租户分页查询")
@Data
@NoArgsConstructor
public class TenantPageQuery extends BasePageQuery {

    @Schema(description = "关键字(租户名称/手机号/openid/身份证号码)")
    private String keywords;

    @Schema(description="状态(0.未认证1.认证成功2.认证失败)")
    private Integer status;

    @Schema(description="注册时间-开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private String startTime;

    @Schema(description="注册时间-结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private String endTime;
}
